<%@ page contentType="text/html; charset=utf-8" language="java"  %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%@include file="/static/common/header.jsp"%>
<%@include file="/static/common/easyui.jsp"%>
<script src="${ctx}/static/jquery/jquery.form.js" type="text/javascript"></script>
<link href="${ctx}/static/css/main.css" rel="stylesheet">
<script>
function updatePass(){
	var r = $('#passForm').form('validate');
	if(!r) {
		return false;
	}
	$('#passForm').submit();
}
	
	</script>
</head>
<body>
<form id="passForm" method="post" action="${ctx}/Mng/user/updatePass">
<input type="hidden" name="id" value=""/>
 <table align="center" width="100%" class="listTable">
  	<tr>
      <td align="left">当前密码:</td>
      <td align="left"><input class="easyui-validatebox" type="password" id="oldpwd" name="oldpwd" required="true">
        </input></td>
    </tr>
    <tr>
      <td align="left">新密码:</td>
      <td align="left"><input class="easyui-validatebox" maxlength="25" type="password" id="plainPassword" name="plainPassword" required="true">
        </input></td>
    </tr>
    <tr height="30">
      <td align="left">确认密码:</td>
      <td align="left"><input class="easyui-validatebox" type="password" id="password" name="password"  validType="equalTo[plainPassword]">
        </input></td>
    </tr>
    </tr>
    
    <tr>
    <td colspan="2" align="center"><a href="javascript:void(0);" id="cancel_btn" onClick="parent.closeWindow();" class="easyui-linkbutton" iconCls="icon-back"><fmt:message key="com.label.back" /></a> &nbsp;<a href="javascript:void(0);" id="submit_btn" onClick="updatePass();" class="easyui-linkbutton" iconCls="icon-save"><fmt:message key="com.label.save" /></a> </td>
    </tr>
  </table>
</form>
</body>
</html>
